package org.fin.framework.test.circular;

import org.fin.framework.ioc.annotation.Autowired;
import org.fin.framework.ioc.annotation.Component;

@Component
public class BeanA {

  @Autowired
  private BeanB beanB;

  @Autowired
  private BeanB beanBB;

  //  @Autowired
  public BeanA(BeanB beanB) {
    this.beanB = beanB;
  }

  public BeanA() {
  }

  public BeanB getBeanB() {
    return beanB;
  }

//  @Autowired
  public void setBeanB(BeanB beanB) {
    this.beanB = beanB;
  }

  public BeanB getBeanBB() {
    return beanBB;
  }

  public void setBeanBB(BeanB beanBB) {
    this.beanBB = beanBB;
  }
}
